function(add_my_executable target_name)
    add_executable(${target_name} ${target_name}.c)
    target_include_directories(${target_name} PRIVATE devices)
    target_link_libraries(${target_name} PRIVATE devices)
endfunction()

add_my_executable(spi_test_cmd)
add_my_executable(fpga_test)
add_my_executable(fpga_read)
add_my_executable(fpga_write)
add_my_executable(gpio_test)
add_my_executable(uart_test)
add_my_executable(timing_module_test)
add_my_executable(mmc_test)
add_my_executable(microwave_tx_module)
add_my_executable(microwave_rx_module)
add_my_executable(fft)
add_my_executable(ddc)
add_my_executable(ddc_2)
add_my_executable(ddc_3)
add_my_executable(ddc_test)
add_my_executable(da_play)
add_my_executable(spi)
add_my_executable(system_status)